package com.jiecao.news.jiecaonews;
import java.util.LinkedHashSet;
import java.util.Set;

import android.app.Application;
import cn.jpush.android.api.JPushInterface;

import com.jiecao.news.jiecaonews.util.constants.Constants;
import com.umeng.analytics.MobclickAgent;

//import com.umeng.analytics.MobclickAgent;

public class JieCaoApplication extends Application{
	private static final String TAG = "JieCaoApplication";
	@Override
    public void onCreate() {
		MobclickAgent.setDebugMode( true );
         super.onCreate();
         //jpush初始化
         JPushInterface.setDebugMode(true); 
         JPushInterface.init(this);
         //jpush设置tag
         Set<String> tagSet = new LinkedHashSet<String>();
         tagSet.add(Constants.JPUSH_TAG_ALL);
         JPushInterface.setAliasAndTags(getApplicationContext(),null,tagSet);
    }

}
